cmake_minimum_required(VERSION 2.8)
project(nn_robot)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread -g -O0")

find_package(OpenCV REQUIRED)
include_directories(./include ${OpenCV_INCLUDE_DIRS})
aux_source_directory(./src USER_SOURCE)

add_executable(nn_robot main.cpp ${USER_SOURCE} src/udp.cpp include/udp.hpp)

target_link_libraries(nn_robot ${OpenCV_LIBS})